//
//  ViewController.h
//  control
//
//  Created by student on 16/2/18.
//  Copyright © 2016年 niit. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController

@property (weak, nonatomic) IBOutlet UITextField *nameTextField;
@property (weak, nonatomic) IBOutlet UITextField *phoneTextField;
@property (weak, nonatomic) IBOutlet UILabel *SlideLabel;
@property (weak, nonatomic) IBOutlet UISwitch *LeftSwitch;
@property (weak, nonatomic) IBOutlet UISwitch *RightSwitch;
@property (weak, nonatomic) IBOutlet UIButton *DoSthBtn;
@property (nonatomic,strong) NSString *nameText;

- (IBAction)SegementChanged:(id)sender;
- (IBAction)SwitchChanged:(id)sender;
- (IBAction)DoSthBtnPressed:(id)sender;
- (IBAction)SliderChanged:(id)sender;
@end

